package com.qst.medical.domain;

import com.qst.medical.domain.superdomain.SuperDomain;

import java.util.StringJoiner;

/**
 * @Author: xwg
 * @CreateDate: 2025/7/13
 */


public class Professor {
    private Integer professorId;

    private String professorName;

    private String major;

    @Override
    public String toString() {
        return new StringJoiner(", ", Professor.class.getSimpleName() + "[", "]")
                .add("professorId=" + professorId)
                .add("professorName='" + professorName + "'")
                .add("major='" + major + "'")
                .toString();
    }

    public Integer getProfessorId() {
        return professorId;
    }

    public void setProfessorId(Integer professorId) {
        this.professorId = professorId;
    }

    public String getProfessorName() {
        return professorName;
    }

    public void setProfessorName(String professorName) {
        this.professorName = professorName;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
